package com.qtenv.datasync.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qtenv.datasync.service.entity.BiZbx;

import java.util.List;

/**
 * <p>
 * BI指标值 服务类
 * </p>
 *
 * @author CBL
 * @since 2022-08-01
 */
public interface BiZbxService extends IService<BiZbx> {
    BiZbx getNewestMonthOverview(String tenantId);

    BiZbx getNewestYearOverview(String tenantId);

    List<BiZbx> getYearProdSaleList(String tenantId);

    List<BiZbx> getDmaProdSaleList(String tenantId, String areaId);

    List<BiZbx> getZoneProdSaleList(String tenantId);

    BiZbx getZoneProdSaleRatio(String tenantId, String areaId);

    BiZbx getCompanyAssetsData(String tenantId);

    BiZbx getZoneTagInfo(String tenantId, String areaId);

    BiZbx getDmaTagInfo(String tenantId, String areaId);

    List<BiZbx> getZoneLatestProdSaleList(String tenantId, String areaId);

    List<BiZbx> getDmaLatestProdSaleList(String tenantId, String areaId);
}
